package com.qdc.datacenters.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;


/**
 * 开通会话存档员工信息(CorpPermitUser)表实体类
 *
 * @author danmo
 * @since 2024-03-04 11:15:05
 */
@Schema
@Data
@SuppressWarnings("serial")
@TableName("corp_permit_user")
public class CorpPermitUser extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -63714193607297793L;

    /**
     * 主键id
     */

    @Schema(description = "主键id")
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 员工id
     */
    @Schema(description = "员工id")
    @TableField("user_id")
    private Long userId;


    /**
     * 企微员工id
     */
    @Schema(description = "企微员工id")
    @TableField("corp_user_id")
    private String corpUserId;


    /**
     * 企微员工名称
     */
    @Schema(description = "企微员工名称")
    @TableField("corp_user_name")
    private String corpUserName;


    /**
     * 别名
     */
    @Schema(description = "别名")
    @TableField("alias")
    private String alias;


    /**
     * 头像
     */
    @Schema(description = "头像")
    @TableField("avatar")
    private String avatar;


    /**
     * 手机号
     */
    @Schema(description = "手机号")
    @TableField("mobile")
    private String mobile;


    /**
     * 性别  0-未定义，1-男性，2-女性
     */
    @Schema(description = "性别  0-未定义，1-男性，2-女性")
    @TableField("gender")
    private Integer gender;


    /**
     * 状态 1-开启 2-关闭
     */
    @Schema(description = "状态 1-开启 2-关闭")
    @TableField("status")
    private Integer status;

}

